import { http } from '@/api/service.js'

export const getRecordPottyInfo = (params) => {
	return http.request({
		url: '/web/record/potty',
		method: 'GET',
		params: params
	})
}

export const getRecordFoodInfo = (params) => {
	console.log(params);
	return http.request({
		url: '/web/record/feeding',
		method: 'GET',
		params: params
	})
}

export const getRecordSleepInfo = (params) => {
	return http.request({
		url: '/web/record/sleep',
		method: 'GET',
		params: params
	})
}

/**
 * 详情
 */
export const getMoreListInfoWeb = params => {
	return http.request({
		url: '/web/record/more',
		method: 'GET',
		params: params
	})
}

export const getRecordTemperatureInfo = (params) => {
	return http.request({
		url: '/web/record/temperature',
		method: 'GET',
		params: params
	})
}